package com.starry.module.system.api.user.domain.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 修改当前用户密码
 *
 * @Author xiaoke
 */
@Schema(description = "修改密码")
@Data
public class SysUserPasswordQo {

    /**
     * 密码
     */
    @Schema(description = "密码")
    @NotBlank(message = "密码")
    @Size(min = 6, max = 20, message = "密码长度为6-20位")
    private String password;
    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码")
    @Schema(description = "确认密码")
    private String confirmPassword;
}
